package zsw.Demo4;
import java.util.Scanner;

public class Student {
    final String name;
    final int number;
    final String text1;
    final String text2;

    public Student(int number, String name, String text1, String text2) {
        this.number = number;
        this.name = name;
        this.text1 = text1;
        this.text2 = text2;

    }

    public void choice(zsw.Demo4.name a, zsw.Demo4.name b, zsw.Demo4.name c, zsw.Demo4.name d, zsw.Demo4.name e, zsw.Demo4.name f) {
        Laboratory laboratory1 = new Laboratory();
        Laboratory laboratory2 = new Laboratory();
        System.out.println("| 1.选小明打扫 2。选小红打扫 3.退出系统 |");
        Scanner input1 = new Scanner(System.in);
        int c1 = input1.nextInt();
        while (1 == 1) {
            if (c1 == 1) {
                laboratory1.twochoice(a, b, c, d, e, f);

            }
            if (c1 == 2) {
                laboratory2.threechoice(a, b, c, d, e, f);

            }
            if (c1 == 3) {
                break;

            }
        }
    }
}